package com.bailian.spring.ioc.basic_beanFactory.config;

import com.bailian.spring.ioc.basic_beanFactory.factory.BallFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author gaoxu
 * date: Created on 2021/11/1 下午2:22
 */

@Configuration
public class BeanFactoryConfig {

    @Bean
    public BallFactoryBean ballFactoryBean() {
        return new BallFactoryBean();
    }

}
